package odgs.message.client;

import odgs.Connection;
import odgs.GridState;
import odgs.message.Message;
import odgs.message.MessageHandler;
import odgs.message.MessageProcessor;

public class UpdateGridStateHandler implements MessageHandler
{
	public void execute(MessageProcessor processor, Message msg, Connection con)
	{
		GridState state = (GridState) msg.get("state");
		processor.getDataManager().setGridState(state);
	}
}
